<?php
	require("includes/basic.php");
if(isset($_POST['gpid']) && isset($_POST['guid']))
{
	$uid=$_POST['guid'];
	$pid=$_POST['gpid'];
	
	$assign=mysql_query("insert into task_assigned_to (`task_assigned_to`,`task_assigned_on`,`task_assigned_by`,`project_id`,`role_id`) values('$uid',sysdate(),'$userId','$pid','1')");
	
}
else{echo"not assigned";}
?>